package com.roncoo.education.db.dao;

import com.roncoo.education.db.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberDao {

    Long insert(Member news);

    List<Member> findByBean(Member news);

    Member findById(Long id);

    Integer findByBeanCount(Member news);

    void deleteById(Member news);

    void deleteByBean(Member news);

    void updateById(Member news);

}
